package com.zyong.design.pattern.responsibility.case1;

/**
 * @program: zyong-design-pattern
 * @ClassName: AHandler
 * @author: zyong
 * @create: 2024-04-08 23:43
 */
public class BHandler extends BaseRequestHandler {

    @Override
    public void doHandler(String request) {
        System.out.println("B中处理自己的逻辑, request = " + request);
        if (next != null) {
            next.doHandler(request);
        }
    }
}
